package com.example.testspringes.testfan;

/**
 * @Description: //TODO
 * @ProjectName: testspringes
 * @Package: com.example.testspringes.testfan
 * @Author: FX
 * @CreateDate: 2019/3/26 16:41
 * @Version: 1.0
 * Copyright: Copyright (c) 2019
 */
public class ApiResult<T> {

    int resultCode;
    String resultMsg;
    T resultObject;

    public ApiResult(int resultCode, String resultMsg, T resultObject) {
        this.resultCode = resultCode;
        this.resultMsg = resultMsg;
        this.resultObject = resultObject;
    }

    public int getResultCode() {
        return resultCode;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public String getResultMsg() {
        return resultMsg;
    }

    public void setResultMsg(String resultMsg) {
        this.resultMsg = resultMsg;
    }

    public T getResultObject() {
        return resultObject;
    }

    public void setResultObject(T resultObject) {
        this.resultObject = resultObject;
    }
}
